package com.njwb.day06.demo;

public class E {
    private int i=1;
    int j=2;
    protected int k=3;

    private void f1(){
        //当前类调用私有化属性和方法
        System.out.println(i);
        System.out.println("E.f1");
        //当前类调用defailt属性和方法
        System.out.println(j);
        f2();
        //当前类调用protected修饰的属性和方法
        System.out.println(k);
        f3();
    }

    void f2(){
        System.out.println("E.f2");
    }

    protected void f3(){
        System.out.println("E.f3");
    }

}
